⚠️ Beta Access Required
Contact your sales representative to gain access to this endpoint and start using it.
Use the /retrieval
endpoint to get recommendations of which products are relevant given a
certain context. Context is provided by user information, plus seed products. This can be used
to retrieve object to display on a PDP (single seed product) or in a cart (multiple seed products).
In order to provide retrieval, Topsort requires that events are also sent, as a source of information.
A valid API key generated in Topsort's UI.
The context information for the predictions, including which metrics to predict.
The body is of type object
.
The retrieval results. Each retrieved products is accompanied by their relevancy score.
The response is of type object
.